The Rails View (for Roman Fäckl) by John Athayde & Bruce Williams
Author:John Athayde & Bruce Williams
Language: eng
Format: epub
Tags: Pragmatic Bookshelf
ISBN: 978-1-93435-687-6
Publisher: The Pragmatic Bookshelf, LLC (351417)
Show Me the Page
Sometimes when we encounter an error or an unexpected step failure, we may want to see what the content of the actual page that Cucumber is interacting with looks like.
We can do this by adding a step definition that calls the Capybara method save_and_open_page, for instance:
Then /^show me the page$/ do
save_and_open_page
end
When Cucumber executes this step (and the Launchy library is installed), Capybara will pop up a browser window, showing the page content. We won’t be able to interact with the page (since our application isn’t running), but we can view the source and verify that the page looks as expected or fix our step definitions to suit.[83]
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Hello! Python by Anthony Briggs(9928)
The Mikado Method by Ola Ellnestam Daniel Brolund(9787)
Dependency Injection in .NET by Mark Seemann(9348)
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(7792)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(7567)
Svelte with Test-Driven Development by Daniel Irvine(7271)
Test-Driven Development with PHP 8 by Rainier Sarabia(7008)
Layered Design for Ruby on Rails Applications by Dementyev Vladimir;(6863)
Secrets of the JavaScript Ninja by John Resig & Bear Bibeault(6541)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(6425)
Web Development with Django by Ben Shaw Saurabh Badhwar(6328)
React Application Architecture for Production by Alan Alickovic(6048)
Jquery UI in Action : Master the concepts Of Jquery UI: A Step By Step Approach by ANMOL GOYAL(5816)
Kotlin in Action by Dmitry Jemerov(5074)
Audition by Ryu Murakami(4594)
Software Architecture for Web Developers by Mihaela Roxana Ghidersa(4513)
Accelerating Server-Side Development with Fastify by Manuel Spigolon Maksim Sinik & Matteo Collina(4359)
Hands-On Full-Stack Web Development with GraphQL and React by Sebastian Grebe(4323)
Solidity Programming Essentials by Ritesh Modi(4064)
